﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace CustomsDocumentOA.Project.CusDocument.Dto
{
    [AutoMapFrom(typeof(CDOA_CustomerDetail))]
    public class CustomerDetailDto: EntityDto<long>
    {
        /// <summary>
        /// 创建时间，接口IHasCreationTime
        /// </summary>
        public DateTime CreationTime { get; set; }
        /// <summary>
        /// 创建人，接口ICreationAudited
        /// </summary>
        public long? CreatorUserId { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public long? LastModifierUserId { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? LastModificationTime { get; set; }
        /// <summary>
        /// 客户主表ID，关联主表
        /// </summary>
        [Required]
        public int cCustomerID { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        [MaxLength(100)]
        public string cTitle { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        [MaxLength(500)]
        public string cContent { get; set; }
        /// <summary>
        /// 附件地址
        /// </summary>
        [MaxLength(200)]
        public string cFileAddress { get; set; }
        /// <summary>
        /// 附件码（1，2，3，4，5）
        /// </summary>
        public int Type { get; set; }

    }
}
